From: Chong Yidong Date: Mon, 21 Sep 2009 18:24:56 +0000 (+0000) Subject: Use find-file-hook instead of obsolete name find-file-hooks. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~324^2~10241^2~13 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=ecccb6faded195c0f7c483b30c86505e260bfb65;p=emacs.git Use find-file-hook instead of obsolete name find-file-hooks. --- diff --git a/lisp/cedet/mode-local.el b/lisp/cedet/mode-local.el index d6668385f33..c528612a63c 100644 --- a/lisp/cedet/mode-local.el +++ b/lisp/cedet/mode-local.el @@ -131,7 +131,7 @@ This makes sure mode local init type stuff can occur." (add-to-list 'mode-local-changed-mode-buffers (current-buffer)) (add-hook 'post-command-hook 'mode-local-post-major-mode-change t nil)) -(add-hook 'find-file-hooks 'mode-local-post-major-mode-change) +(add-hook 'find-file-hook 'mode-local-post-major-mode-change) (add-hook 'change-major-mode-hook 'mode-local-on-major-mode-change) ;;; Mode lineage